package org.herui.campus.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.mlnx.common.entity.BaseEntity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
@Data
@Accessors(chain = true)
public class LightBaseEntity extends BaseEntity {

    @JsonIgnore
    @TableField(exist = false)
    @ApiModelProperty(value = "描述")
    private String remark;// 描述

    @TableField(
            exist = true
    )
    @ApiModelProperty("创建时间")
    private Date createTime;

    @TableField(
            exist = true
    )
    @ApiModelProperty("更新时间")
    private Date editTime;
}
